package com.labi.designpattern.sale;

import org.springframework.stereotype.Service;

@Service
public class SVipStrategyServiceImpl implements CalcStrategySerivce {
    @Override
    public String type() {
        return "svip";
    }

    @Override
    public double getPrice(double fee) {
        return fee*0.5;
    }
}
